package com.gp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户申请角色表(UserRoleApply)实体类
 *
 * @author makejava
 * @since 2024-04-22 17:17:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRoleApply implements Serializable {
    private static final long serialVersionUID = 371802184437362640L;
    /**
     * id
     */
    private Long id;
    /**
     * 用户id
     */
    private Long userid;
    /**
     * 角色id
     */
    private Long roleid;
    /**
     * 申请原因
     */
    private String reason;
    /**
     * 审核状态 0-待审核 1-已同意 2-已驳回
     */
    private String state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getRoleid() {
        return roleid;
    }

    public void setRoleid(Long roleid) {
        this.roleid = roleid;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}

